package main

import (
	_ "TaskAssignmentSystem/internal/admin/cmd/docs"
	. "TaskAssignmentSystem/internal/admin/router"
	_ "TaskAssignmentSystem/internal/app/cmd/docs"
	"TaskAssignmentSystem/pkg/utils"

	"github.com/kataras/iris/v12"
)

// @title TaskAssignmentSystem 移动端接口
// @version 1.0.0

// @BasePath /api
func main() {
	address := iris.Addr(utils.ServiceString())
	configuration := iris.WithConfiguration(iris.YAML(utils.IrisPath))
	App.Application.Run(address, configuration)
}
